﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.Domain;

namespace Sealight.Data
{
   public interface IOrderDataRepository: IRepository<OrderEntity>
    {
       OrderProductVariantEntity AddOrderDetail(OrderProductVariantEntity data);
       OrderNoteEntity AddOrderNote(OrderNoteEntity data);
       OrderProductVariantEntity GetOrderDetail(Guid id);
       OrderNoteEntity GetOrderNote(Guid id);
       IList<OrderProductVariantEntity> GetOrderDetails(Guid order_id);
       IList<OrderEntity> SearchOrders(string keyword, DateTime? from, DateTime? to);
    }
}
